package com.celesea.auth.role.service;

import com.celesea.auth.role.entity.RolePermission;
import com.celesea.framework.service.BaseService;

import java.util.List;

public interface RolePermissionService extends BaseService<RolePermission> {
    List<RolePermission> findByRole(String roleId);

    int deleteByRole(String roleId);
}
